package com.tm.service;

import com.tm.entity.Product;

/**
 * Created by lichuan on 2022-09-19.
 */
public interface ProductService {

    /**
     * 保存产品信息到es
     * @param product
     * @return
     */
    Object saveProd(Product product);


    /**
     * 修改
     * @param product
     * @return
     */
    Object updateProd(Product product);

    /**
     * 修改
     * @param product
     * @return
     */
    Object del(Product product);

    Object getProd(Product product);


    Object getCeshi();

    Object getAggr();
}
